import * as constants from './constants'

export const changeBannersAction = (banners) => (
    function foo(dispatch,getState) {
        setTimeout(()=> {
            dispatch({
                type:constants.CHANGE_BANNERS,
                banners
            })
        },3000)
    }
)